package cn.zw.netty.Controller;

import org.springframework.stereotype.Controller;



@Controller
public class UserController {

    @Action("login")
    public User login(User user){
        User u=new User();
        u.setAge(10);
        u.setId(11);
        u.setName("天下无敌");
        return u;
    }
}
